<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"   
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:composite="http://java.sun.com/jsf/composite"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:faces="http://java.sun.com/jsf/composite/faces/components">
 
    <composite:interface >
    	<composite:attribute name="id" type="java.lang.String"/>
	   	<composite:attribute name="value" type="java.lang.String" default="#{systemConfig.config.getString('onion.faces.template.form.cancel','关闭')}"/>
	   	<composite:attribute name="style" type="java.lang.String"/>
	   	<composite:attribute name="styleClass" type="java.lang.String"/>
    </composite:interface>
 
    <composite:implementation >
		<input type="button" id="#{cc.clientId}" value="#{cc.attrs.value}" 
			class="#{cc.attrs.styleClass}" style="#{cc.attrs.style}"
			onclick="#{cc.attrs.onclick}onion.faces.formPanel.hide();" />
    </composite:implementation>
</ui:composition>